Implement TODO.md template hardening and automation#21
Merged
Conversation
- Tighten copier _skip_if_exists, fix package_name validator, remove codecov_token prompt - Add include_cli, include_logging_setup, include_git_cliff with optional artifacts + task cleanup - Weekly workflow + scripts/sync_skip_if_exists.py to refresh skip list from git activity - Template: Typer CLI, logging_config, git-cliff, CONTRIBUTING/SECURITY, docs/ci.md, MkDocs recipes - Conditional MkDocs files when include_docs=false; fix gitignore ignoring template/docs - detect-secrets baseline, Renovate (pre-commit), basedpyright/coverage config, justfile fixes - Expand template integration tests (validator, optional features, docs/renovate hooks) Made-with: Cursor
- Add .github/labeler.yml for actions/labeler@v4 (minimatch globs) - Enable dot: true so .github/workflows matches the ci label - End-of-file-fixer: single trailing newline on template/docs/*.md.jinja Made-with: Cursor
- Add TODO.md with completion table + original audit text for later trimming - README: document CODECOV_TOKEN secret (with link to docs/ci.md when docs enabled) - tests: opt-in uv lock+sync smoke when RUN_TEMPLATE_INTEGRATION=1 (4.11) Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request implements the items from
TODO.md(sections 3.x, 4.x) across the Copier template and the meta-repository.Copier / template
*.md); addedCONTRIBUTING.md,SECURITY.md, issue templates, PR template; removedcodecov_tokenprompt (document Codecov viadocs/ci.md+ README patterns).package_namerejects digit-leading identifiers._tasksblock retained (pip or install.sh fallback).include_cli(Typer + console script +just run),include_logging_setup,include_git_cliff(dependency group +cliff.toml+just changelog), with post-genrmtasks for disabled options.docs-serve/docs-build/docs-deploy;mkdocs.ymlanddocs/*only wheninclude_docs=true; addedmkdocs-gen-filespin;docs/ci.mdfor Codecov secrets.standard+reportMissingImports; coveragesource = ["src"]andomitupdates;__version__viaimportlib.metadata.docs/; template/docs un-ignored in root.gitignoreso Copier/VCS includesci.md.detect-secrets+ baseline; Renovate:pre-commitenabled in template and meta-repo.Meta-repo
_skip_if_exists(opens PR when drift).sync: _set_env,@justininstall,docs-helpstub.detect-secrets, basedpyright/coverage tweaks), .secrets.baseline.Tests
copy_with_datahelper prunes empty optional files and MkDocs when--skip-tasksmirrors post-gen cleanup.Note
Local
just testmay require a Python/arch matching thepydantic_corewheel (e.g.arch -arm64on Apple Silicon). CI should run the full matrix as usual.TODO.mdremains untracked locally for you to keep or drop.Ready to merge when CI is green.
Made with Cursor